<?php
/*
 * Created on Sep 23, 2006
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 class MetodosEspeciais {
 	protected $atributos;
 	
	public function __call($metodo, $valor) {
		if (substr($metodo, 0, 3) == "set") {
			$this->atributos[strtolower(substr($metodo, 3))] = $valor[0];
		} else if (substr($metodo, 0, 3) == "get") {
				return $this->atributos[strtolower(substr($metodo, 3))];
		}		
	}
 }
?>